#app {
  // 主体区域
  .main-container {
    min-height: 100%;
    transition: margin-left .28s;
    margin-left: 160px;
    position: relative;
  }
  // 侧边栏
  .sidebar-container {
    transition: width 0.28s;
    width: 160px !important;
    height: 100%;
    position: fixed;
    font-size: 0px;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;
    background-color: #2d97e7;
    background: -moz-linear-gradient(top, #2d97e7 10%, #2eb8d3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(10%,#2d97e7), color-stop(100%,#2eb8d3));
    background: -webkit-linear-gradient(top, #2d97e7 10%,#2eb8d3 100%);
    background: -o-linear-gradient(top, #2d97e7 10%,#2eb8d3 100%);
    background: -ms-linear-gradient(top, #2d97e7 10%,#2eb8d3 100%);
    background: linear-gradient(to bottom, #2d97e7 10%,#2eb8d3 100%);
    // 产品logo
    .pro-log{
      width: 160px;
      height: 60px;
      position: fixed;
      left: 0;
      top: 0;
      z-index: 3;
      font-size: 16px;
      font-weight: bold;
      color: #fff;
      text-align: center;
      line-height: 60px;
      border-bottom: 1px solid #44abf8;
      img{
        cursor: pointer;
      }
    }
    .pro-log ~ .el-menu {
      height: calc(100% - 60px);
      position: relative;
      top: 60px;
    }
    //reset element-ui css
    .horizontal-collapse-transition {
      transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
    }
    .scrollbar-wrapper {
      height: calc(100% + 15px);
      .el-scrollbar__view {
        height: 100%;
      }
    }
    .is-horizontal {
      display: none;
    }
    a {
      display: inline-block;
      width: 100%;
      overflow: hidden;
    }
    .svg-icon {
      margin-right: 12px;
    }
    .el-menu {
      border: none;
      height: 100%;
      // height: calc(100% - 60px);
      width: 100% !important;
    }
    .el-submenu__title i{
      right: 10px;
      color: #fff;
    }
  }
  .sidebar-container .el-submenu .el-menu-item.is-active,
  .sidebar-container .el-menu-item.is-active{
    background-color: #58AEEC !important;
    border-left: 5px solid #cceaff;
  }
  .hideSidebar {
    .sidebar-container{
      width: 36px !important;
    }
    .pro-log {
      width: 41px !important;
      overflow: hidden;
      margin-left: -5px;
    }
    .main-container {
      margin-left: 36px;
    }
    .submenu-title-noDropdown {
      padding-left: 10px !important;
      position: relative;
      .el-tooltip {
        padding: 0 10px !important;
      }
    }
    .el-submenu {
      overflow: hidden;
      &>.el-submenu__title {
        padding-left: 10px !important;
        .el-submenu__icon-arrow {
          display: none;
        }
      }
    }
    .el-menu--collapse {
      .el-submenu {
        &>.el-submenu__title {
          &>span {
            height: 0;
            width: 0;
            overflow: hidden;
            visibility: hidden;
            display: inline-block;
          }
        }
      }
    }
  }

  .sidebar-container .el-submenu__title,
  .sidebar-container .el-menu-item{
    padding: 0 10px !important;
    &:hover{
      background-color: $menuHover !important;
    }
  }
  .sidebar-container .el-submenu .el-menu-item{
    padding-left: 25px !important;
  }
  .sidebar-container .nest-menu .el-submenu>.el-submenu__title,
  .sidebar-container .el-submenu .el-menu-item {
    min-width: 160px !important;
    background-color: $subMenuBg !important;
    &:hover {
      background-color: $menuHover !important;
    }
  }
  .el-menu--collapse .el-menu .el-submenu {
    min-width: 160px !important;
  }

  //适配移动端
  .mobile {
    .main-container {
      margin-left: 0px;
    }
    .sidebar-container {
      transition: transform .28s;
      width: 160px !important;
    }
    &.hideSidebar {
      .sidebar-container {
        transition-duration: 0.3s;
        transform: translate3d(-160px, 0, 0);
      }
    }
  }
  .withoutAnimation {
    .main-container,
    .sidebar-container {
      transition: none;
    }
  }
}

// 菜单折叠后样式
.el-menu--vertical{
  .el-menu--popup{
    background: #2d97e7 !important;
    .el-menu-item:focus, .el-menu-item:hover{
      background: #58AEEC !important;
    }
  }
}